<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="./css/mui.min.css">
		<style>
			html,body {
				/* background-color: #efeff4; */
			}
			
			/* .banner {
				height: 200px;
			} */
			
			/* .banner img {
				height: 200px;
			} */
		</style>
	</head>
	<body>
		<div class="mui-content">
			<div class="mui-slider banner">
			  <div class="mui-slider-group mui-slider-loop">
			    <!--支持循环，需要重复图片节点-->
			    <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="./images/banner/banner04.jpg" /></a></div>
			    <div class="mui-slider-item"><a href="#"><img src="./images/banner/banner01.jpg" /></a></div>
			    <div class="mui-slider-item"><a href="#"><img src="./images/banner/banner02.jpg" /></a></div>
			    <div class="mui-slider-item"><a href="#"><img src="./images/banner/banner03.jpg" /></a></div>
			    <div class="mui-slider-item"><a href="#"><img src="./images/banner/banner04.jpg" /></a></div>
			    <!--支持循环，需要重复图片节点-->
			    <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="./images/banner/banner01.jpg" /></a></div>
			  </div>
			  <div class="mui-slider-indicator">
			  	<div class="mui-indicator mui-active"></div>
			  	<div class="mui-indicator"></div>
			  	<div class="mui-indicator"></div>
			  	<div class="mui-indicator"></div>
			  </div>
			</div>
		</div>
	</body>
	<script src="./js/mui.min.js"></script>
	<script>
		mui.init({
			swipeBack:true //启用右滑关闭功能
		});
		
		
		
		//获得slider插件对象
		var gallery = mui('.mui-slider');
		gallery.slider({
		  interval:2000//自动轮播周期，若为0则不自动播放，默认为0；
		});
	</script>
</html>